package modele;

public class FonctionAOptimiser {

	private double A ;
	private double B ;
	private int Direction ;
	
	public static final int MAXIMISER = 0;
	public static final int MINIMISER = 1;
	
	public FonctionAOptimiser(double A,Double B,int direction) {
		this.A = A ;
		this.B = B ;
		this.Direction = direction ;
	}
	
	
	
	public double getA() {
		return A;
	}
	public double getB() {
		return B;
	}
	public int getDirection() {
		return Direction;
	}
	
	@Override
	public String toString() {
		return "Fonction A Optimiser : "+this.getA()+" X1 + "+this.getB()+"X2" ;
	}
	
	
	
	
}
